package cn.com.api.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class ApiGoods_p implements Serializable {

	private static final long serialVersionUID = 1L;

	// 商品id
	private long id;
	// 商品名称
	private String name;
	// 价格
	private double price;
	// 已售数量
	private Integer count;
	// 商品图片
	private String image;
	// 商品规格
	private String spec;
	// 所属商家
	private Integer shop_id;
	// 商家名称
	private String c_sname;

	// 所属县市
	private Integer city_id;
	// 所属二级分类
	private Integer type;
	// 所属二级分类
	private String typeStr;

	// 品牌
	private Integer brand_id;

	private String producing_area;

	private String path;
	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	// 所属一级分类
	private Integer par_type;
	// 活动类别
	private Integer promotion_type;
	// 活动展示图片
	private String promotion_image;
	// 市场价
	private double market;

	// Mini_buy
	private Integer mini_buy;

	// Status商户商品状态 0:未发布 1:在售中 2:已下架
	private Integer status;

	// group_flag 团购标识货 1团购/0非团购 数据库中默认值为0
	private Integer group_flag;

	// 描述显示时的颜色，值为颜色的16进制代码，如“#ffffff”
	private String col_img;

	// Description
	private String description;

	// Is_top
	private Integer is_top;

	// Sort
	private Integer sort;

	// is_deleted
	private Integer is_deleted;

	/** product_id */
	private long default_product_id;

	private String create_time;

	private String update_time;

	// Description
	private String source;

	// productList
	private List<ApiT_products> productList;
	// 商品图库
	private List<ApiT_goods_p> imageList;

	private String typeName;// 类型名字

	private String property;// 商品属性

	private int soldCount;// 商品已售数量

	private int dianpingCount;// 评价数量

	private Long goods_id;//
	
	private Long goodsId;
	
	private String fileName;
	
	private Date commit_time;
	
	private String note;
	

	public Long getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(Long goodsId) {
		this.goodsId = goodsId;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public Date getCommit_time() {
		return commit_time;
	}

	public void setCommit_time(Date commit_time) {
		this.commit_time = commit_time;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	// 商品标签
	private List<ApiT_goods_tags> tagsList;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public Integer getIs_deleted() {
		return is_deleted;
	}

	public void setIs_deleted(Integer is_deleted) {
		this.is_deleted = is_deleted;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getC_sname() {
		return c_sname;
	}

	public void setC_sname(String c_sname) {
		this.c_sname = c_sname;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public String getPromotion_image() {
		return promotion_image;
	}

	public void setPromotion_image(String promotion_image) {
		this.promotion_image = promotion_image;
	}

	public Long getGoods_id() {
		return goods_id;
	}

	public void setGoods_id(Long goods_id) {
		this.goods_id = goods_id;
	}

	public String getSpec() {
		return spec;
	}

	public void setSpec(String spec) {
		this.spec = spec;
	}

	public String getProducing_area() {
		return producing_area;
	}

	public void setProducing_area(String producing_area) {
		this.producing_area = producing_area;
	}

	public Integer getShop_id() {
		return shop_id;
	}

	public void setShop_id(Integer shop_id) {
		this.shop_id = shop_id;
	}

	public Integer getCity_id() {
		return city_id;
	}

	public void setCity_id(Integer city_id) {
		this.city_id = city_id;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getPromotion_type() {
		return promotion_type;
	}

	public void setPromotion_type(Integer promotion_type) {
		this.promotion_type = promotion_type;
	}

	public Integer getPar_type() {
		return par_type;
	}

	public void setPar_type(Integer par_type) {
		this.par_type = par_type;
	}

	public double getMarket() {
		return market;
	}

	public void setMarket(double market) {
		this.market = market;
	}

	// Mini_buy
	public Integer getMini_buy() {
		return this.mini_buy;
	}

	public void setMini_buy(Integer mini_buy) {
		this.mini_buy = mini_buy;
	}

	// Status
	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	// Description
	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	// Is_top
	public Integer getIs_top() {
		return this.is_top;
	}

	public void setIs_top(Integer is_top) {
		this.is_top = is_top;
	}

	// Sort
	public Integer getSort() {
		return this.sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public long getDefault_product_id() {
		return default_product_id;
	}

	public void setDefault_product_id(long default_product_id) {
		this.default_product_id = default_product_id;
	}

	public List<ApiT_products> getProductList() {
		return productList;
	}

	public void setProductList(List<ApiT_products> productList) {
		this.productList = productList;
	}

	public List<ApiT_goods_p> getImageList() {
		return imageList;
	}

	public void setImageList(List<ApiT_goods_p> imageList) {
		this.imageList = imageList;
	}

	public String getCreate_time() {
		return create_time;
	}

	public void setCreate_time(String create_time) {
		this.create_time = create_time;
	}

	public String getUpdate_time() {
		return update_time;
	}

	public void setUpdate_time(String update_time) {
		this.update_time = update_time;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public String getProperty() {
		return property;
	}

	public void setProperty(String property) {
		this.property = property;
	}

	public int getSoldCount() {
		return soldCount;
	}

	public void setSoldCount(int soldCount) {
		this.soldCount = soldCount;
	}

	public Integer getBrand_id() {
		return brand_id;
	}

	public void setBrand_id(Integer brand_id) {
		this.brand_id = brand_id;
	}

	public String getTypeStr() {
		return typeStr;
	}

	public void setTypeStr(String typeStr) {
		this.typeStr = typeStr;
	}

	public int getDianpingCount() {
		return dianpingCount;
	}

	public void setDianpingCount(int dianpingCount) {
		this.dianpingCount = dianpingCount;
	}

	public Integer getGroup_flag() {
		return group_flag;
	}

	public void setGroup_flag(Integer group_flag) {
		this.group_flag = group_flag;
	}

	public String getCol_img() {
		return col_img;
	}

	public void setCol_img(String col_img) {
		this.col_img = col_img;
	}

	public List<ApiT_goods_tags> getTagsList() {
		return tagsList;
	}

	public void setTagsList(List<ApiT_goods_tags> tagsList) {
		this.tagsList = tagsList;
	}

}
